package com.app.service.Appinfo;

import com.app.dao.Appinfo.AppinfoMapper;
import com.app.entity.AppInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AppinfoServiceImpl implements AppinfoService {
    @Autowired
    private AppinfoMapper appinfoMapper;

    @Override
    public boolean app_info_add(AppInfo appInfo) {
        boolean fag=false;
        try {
            if (appinfoMapper.app_info_add(appInfo)>0){
                fag=true;
            }
        } catch (Exception e) {
            e.printStackTrace();
            fag=false;
        }
        return fag;
    }
}
